package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.Vo.LogVo;
import com.khyr.Vo.PurcharserVo3;
import com.khyr.Vo.PurchaseVo;
import com.khyr.Vo.PurchaserVo2;
import com.khyr.entity.StockPurchase;
import com.khyr.entity.StockPurchaseItem;
import com.khyr.vo.R;

import java.util.List;

/**
 * @InterfaceName: PurchaseService
 * @author: Zyl
 * @date: 2025/3/13 14:55
 * @Version: 1.0
 * @description:
 */

public interface PurchaseService {
    R<Page<StockPurchase>> findPurchase(PurchaseVo data);

    R generatePurchaseId();

    R addPurchase(PurchaserVo2 data);

    R<Page<StockPurchase>> findPurchase2(PurchaseVo data);

    R<PurcharserVo3> queryPurchaseAndItemByPurchaseId(String purchaseId);

    R doInvalid(String purchaseId);

    R addPurchase2(PurchaserVo2 data);

    R del(String purchaseId);

    R doInventory(String purchaseId);

    R auditNoPass(String purchaseId, String auditMsg);

    R up(PurchaserVo2 data);

    R up2(PurchaserVo2 data);

    R auditPass(String purchaseId);


}
